﻿<controls:ChildWindow x:Class="MVVMBasic.View.Login.LoginRegistrationWindow"
                      x:Name="childWindow"
                      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                      xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                      xmlns:Login1="clr-namespace:MVVMBasic.View.Login"
                      Width="400"
                      Title="{Binding Path=ApplicationStrings.LoginWindowTitle, Source={StaticResource ResourceWrapper}}"
                      Style="{StaticResource LogRegWindowStyle}"
                      Closing="LoginWindow_Closing">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Login1:LoginForm x:Name="loginForm"
                          Grid.Row="0" />
        <Login1:RegistrationForm x:Name="registrationForm"
                                 Grid.Row="0" />

    </Grid>

</controls:ChildWindow>